﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test4
{
    class Enemy
    {
        //敌人字段
        string _name;
        int _boold;
        int _level;

        //敌人属性
        public string name { get; set; }
        public int boold { get; set; }
        public int level { get; set; }

        public Enemy()
        {
            int boold = 100;
            int level = 1;
        }
        public Enemy(string n)
        {
            name = "huahua";
            Console.WriteLine(name);
        }
        public void Shark()
        {
            Console.WriteLine("此路是我开，哪里走！");
        }
        public virtual void Sname()
        {
            Console.WriteLine("我发起了共计");
        }
    }
}
